package my.object.clone;

import java.util.Arrays;
import java.util.Map;

public class Demo {

    public static void main(String[] args) throws Exception {
        CloneSon co = new CloneSon();
        co.put("abc", "abc");
        Clone clone = co.clone();
        for (Map.Entry<String, String> entry : clone.map.entrySet()) {
            String mapKey = entry.getKey();
            String mapValue = entry.getValue();
            System.out.println(mapKey + ":" + mapValue);
        }


        int [] a=new int[]{1,2,3,4,5,6};
        char [] c=new char[]{'1','2','3','4','5','6'};

        String [] b=new String[]{"1","2","3","4","5","6"};


        Arrays.stream(a).boxed().forEach(System.out::print);


        //int[] clone1 = a.clone();

        //Stream.of(clone1).forEach(System.out::print);


    }
}
